﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using Acms.Bll;

public partial class Templates_Generic_FeedList : Acms.AcmsControls.TemplateUserControl
{
    protected void Page_Load(object sender, EventArgs e)
    {
    }

    protected string GetCssClass()
    {
        System.Text.StringBuilder tmp = new System.Text.StringBuilder();
        tmp.Append("item ");
        List<Topic> topics = Topic.GetAllByPostIdAndTopicGroupPath(AcmsContext.PostId, "Services");
        if (topics != null && topics.Count > 0)
        {
            tmp.Append(string.Format("services{0}", topics[0].Name));
        }
        return tmp.ToString().Trim();

    }
}
